<template>
  <f7-page>
    <f7-navbar title="教学用车申请表" back-link="Back"></f7-navbar>
    <f7-list>
      <f7-list-item title="名称" after="XXX教学用车申请"></f7-list-item>
      <f7-list-item title="申请部门" after="动画工程中心"></f7-list-item>
      <f7-list-item title="填表时间" after="2018-04-04 10:49:26"></f7-list-item>
      <f7-list-item title="申请时间" after="2018-04-04 10:49:31"></f7-list-item>
      <f7-list-item title="用车事由" after="培训骑行台用车申请"></f7-list-item>
    </f7-list>
  </f7-page>
</template>
<script>

export default {
  data () {
    return {
      tt: []
    }
  },
  created () {
    this.$f7ready((f7) => {
      let that = this;
      f7.request.setup({
        headers: {
          'AccessToken': sessionStorage.getItem('accessToken'),
          'JSESSIONID': sessionStorage.getItem('userToken')
        }
      });
      f7.request.json(that.GLOBAL.RequestAddress.RequestAddress + '/camel/rest/workflow/tasks', {'page': 1, 'limit': 10, 'jsonStr': ''}, function (result) {
        if (result.success === undefined) {
          that.tt = result.data;
        }
      });
    });
  }
}
</script>
